FROM harbor.crehopson.com/system_containers/nginx:v1.5.1

ARG BASE_PATH
ARG NGINX_CONF

COPY ./dist /etc/nginx/html/${BASE_PATH}

RUN rm -f /etc/nginx/nginx.conf 

COPY ./${NGINX_CONF} /etc/nginx/nginx.conf

EXPOSE 80
